package com.woniuxy.yoga.progress.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("创建私教课进度表参数")
public class CreatePriCardForm {

    /**
     * 订单编号
     */
    @ApiModelProperty("订单编号")
    @NotNull
    private String orderNum;

    /**
     * 教练id
     */
    @ApiModelProperty("教练id")
    @NotNull
    private Integer coachId;

    /**
     * 私教课次数
     */
    @ApiModelProperty("私教课次数")
    @Min(1)
    private Integer pricardCount;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    @NotNull
    private Integer userId;
}
